package com.example.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Interview {  //面试表

    //序号
    private Integer id;

    //面试单号
    private Integer interviewId;

    //姓名
    private String  interviewName;

    //年龄
    private Integer interviewAge;

    //学历
    private String interviewSchool;

    //应聘部门
    private Integer departmentId;

    //所属部门名称
    private String departmentName;

    //招聘来源
    private  Integer  interviewFr ;

    //面试状态
    private  Integer  interviewStatus;

    //面试状态中文
    private  String  recruitName;

    //面试时间
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime interviewTime;


    //标注
    private String remark;

    //查出来的状态
    @TableField(exist = false)
    private String status;

    //查出来的数量
    @TableField(exist = false)
    private int quantity;

}
